﻿#ifndef HOSTSIM_H
#define HOSTSIM_H

#include "HsmsHost.h"
class B3HsmsHostSim : public HsmsHost
{
    Q_OBJECT
public:
    B3HsmsHostSim(QObject *parent = nullptr);
public slots:
    void sendS1F5();
    void sendS1F5(QString str);
private slots:
    void privateDataMessage(const HSMSMessages &message);
private:
    void onReceiveS1F6(const HSMSMessages &message);//EquipmentStatusData
    void onReceiveS2F208(const HSMSMessages &message);//PanelInfoDownloadReply
    void onReceiveS2F210(const HSMSMessages &message);//OperatorAuthorityDownloadReply
    void onReceiveS6F11(const HSMSMessages &message); //ControlStateChangeOnLineLocal
    void onReceiveS6F207(const HSMSMessages &message); //PanelInfoRequest
    void onReceiveS6F209(const HSMSMessages &message);//OperatorAuthorityRequest, 验证工号密码
    void onReceiveS6F3(const HSMSMessages &message);//EqpDiscreteVariableDataSendSites
    void onReceiveS10F6(const HSMSMessages &message); //TerminalDisplayMultiBlockAcknowledge 异常推送
    void sendS2F207( QMap<QString, QString> PANELINFOSET);


    QMap<QString, QString> PANELINFOSET;
    bool m_OnLineLocal;
    QString m_operatorID;
    QString m_password;
};

#endif // HOSTSIM_H
